package com.emergency.embackend.mapper;

import com.emergency.embackend.entity.User;
import com.emergency.embackend.param.UserParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author chddd
 * @description
 * @create 2024/1/29 15:54:43
 */
@Mapper
public interface UserMapper {
    User searchUser(UserParam userParam);

    void register(User user);

    User info(Long id);

    void update(UserParam userParam);

    List<User> getUserList(@Param("ids")List<Long> ids);

}
